package br.com.jambu.cge

import java.util.Date;

class Cliente {
	
	String nomeFantasia
	String razaoSocial
	String incricaoEstadual
	String inscricaoMunicipal
	String cnpj 
	String telefone
	String email
	boolean ativo
	Date dateCreated
	Date lastUpdated
	
	//Responsavel responsavel
	
	static hasMany = [usuarios:Usuario]
	
	static embedded = ['responsavel']
	


    static constraints = {
		cnpj(nullable:false,blank:false,unique:true)
		nomeFantasia(nullable:false,blank:false)
		razaoSocial(nullable:false,blank:false)
		
    }
	
}
